package com.zm.shop.feign;

import com.zm.shop.common.entity.GoodsEntity;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(name = "shop-05-goods",path = "/goods")
public interface GoodsService {
    @GetMapping("/getGoodsEntityById/{id}")
    public GoodsEntity getGoodsEntityById(@PathVariable("id") Integer id);
}
